const express = require('express');
const app = express();

app.get('/',function(){
    res.send('hello world!');
})

let server = app.listen(8081,function(){
    let host = server.address().address;
    let port = server.address().port;
    console.log(host + port);
})